package com.zhixiang.xaec.dao.system.impl;

import org.springframework.stereotype.Repository;

import com.zhixiang.core.dao.impl.BaseDaoImpl;
import com.zhixiang.xaec.dao.system.AppFunctionDao;
import com.zhixiang.xaec.entity.system.AppFunction;

@Repository
public class AppFunctionDaoImpl extends BaseDaoImpl<AppFunction,Long>
  implements AppFunctionDao
{

  public AppFunction getByKey(String s)
  {
    String s1 = "FROM AppFunction af WHERE af.funKey=?";
    return (AppFunction)findUnique(s1, new String[] {s});
  }
}

